package com.wk.pms.vo;

import com.wk.pms.entity.SkuInfo;
import com.wk.pms.entity.SkuSaleAttrValue;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * 添加spu和sku信息时用到的对象
 */
@Data
public class SkuInfoVO extends SkuInfo {

    //sku默认图片
    private List<String> images;

    // 积分相关的字段 对应SkuBounds表
    private BigDecimal growBounds;
    private BigDecimal buyBounds;
    private List<Integer> work;

    // 满减相关的字段 对应SkuFullReduction表
    private BigDecimal fullPrice;
    private BigDecimal reducePrice;
    private Integer fullAddOther;

    // 打折相关的字段 对应SkuLadder表
    private Integer fullCount;
    private BigDecimal discount;
    private Integer ladderAddOther;

    // 销售属性
    private List<SkuSaleAttrValue> saleAttrs;

}
